* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
:root {
    --page-bg: #f5faf7;
    --surface: rgba(255, 255, 255, 0.95);
    --surface-solid: #ffffff;
    --heading-color: #0f291e;
    --body-color: #3b5a4b;
    --line-color: rgba(16, 185, 129, 0.14);
    --soft-shadow: 0 18px 45px rgba(16, 185, 129, 0.07);
    --nav-bg: rgba(245, 250, 247, 0.96);
    --blue: #059669;
    --green: #10b981;
    --white: #ffffff;
    --light-blue: #e0f2fe;
}
html[data-theme="dark"] {
    --page-bg: #091712;
    --surface: rgba(16, 36, 27, 0.94);
    --surface-solid: #10241b;
    --heading-color: #ecfdf5;
    --body-color: #a7f3d0;
    --line-color: rgba(52, 211, 153, 0.28);
    --soft-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
    --nav-bg: rgba(9, 23, 18, 0.95);
}
body {
    font-family: "Poppins", sans-serif;
    background: var(--page-bg);
    color: var(--heading-color);
    overflow-x: hidden;
    background:radial-gradient(circle at 15% 15%,rgba(38, 103, 255, 0.12),transparent 25%),
    radial-gradient(circle at 85% 25%,rgba(17, 189, 114, 0.1),transparent 20%),
    radial-gradient(circle at 50% 90%,rgba(38, 103, 255, 0.08),transparent 30%),
    var(--page-bg);
}
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.home {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-top: 120px;
}
.home-left h1 {
    font-size: 60px;
    line-height: 1.2;
    color: var(--heading-color);
}
.home-left p {
    margin: 20px 0;
    color: var(--body-color);
    font-size: 19px;
    line-height:30px;
}
.home-buttons {
    display: flex;
    gap: 20px;
}
.primary-btn {
    padding: 18px 38px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
.secondary-btn {
    padding: 18px 38px;
    border: 2px solid var(--blue);
    background: none;
    color: var(--heading-color);
    border-radius: 50px;
    cursor: pointer;
}
.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-5px);
}
.home-right {
    display: flex;
    justify-content: center;
    align-items: center;
}
.wallet-box {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wallet-box::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    background: #2667ff33;
    filter: blur(80px);
    border-radius: 50%;
}
.wallet {
    width: 270px;
    height: 180px;
    background: linear-gradient(135deg, #3468ff, #4d7dff);
    border-radius: 20px;
    position: relative;
    box-shadow: var(--soft-shadow);
}
.wallet-top {
    position: absolute;
    width: 120px;
    height: 40px;
    background: #86a4ff;
    top: 20px;
    left: 20px;
    border-radius: 12px;
}
.wallet-lock {
    position: absolute;
    width: 70px;
    height: 55px;
    background: #d9ddea;
    right: -15px;
    top: 65px;
    border-radius: 15px;
}
.coin {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(#ffd96a, #f7ba25);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    font-weight: bold;
    color: #8d6300;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.coin1 {
    top: 10px;
    left: 250px;
    animation: float 3s infinite;
}
.coin2 {
    bottom: 70px;
    left: 70px;
    animation: float 4s infinite;
}
.coin3 {
    top: 120px;
    right: 10px;
    animation: float 5s infinite;
}
.how-invite {
    width: 90%;
    max-width: 1300px;
    margin: 120px auto;
}

.how-invite h2 {
    text-align: center;
    font-size: 52px;
    color: var(--heading-color);
    margin-bottom: 70px;
    font-weight: 600;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line-color);
    border-radius: 28px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: var(--soft-shadow);
    overflow: hidden;
    transition: 0.4s;
}
.card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(38, 103, 255, 0.15);
    border-radius: 50%;
    top: -120px;
    right: -120px;
    filter: blur(45px);
}
.card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    background: rgba(17, 189, 114, 0.12);
    border-radius: 50%;
    bottom: -90px;
    left: -90px;
    filter: blur(45px);
}
.card:hover {
    transform: translateY(-12px);
    border-color: #2667ff;
    box-shadow: 0 25px 60px rgba(38, 103, 255, 0.18);
}
.icon {
    width: 90px;
    height: 90px;
    margin: auto;
    margin-bottom: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--green));
    box-shadow: 0 10px 30px rgba(38, 103, 255, 0.25);
}
.card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--heading-color);
}
.card p {
    color: var(--body-color);
    font-size: 17px;
    line-height: 30px;
}
.invite-area {
    margin-top: 70px;
    display: flex;
    justify-content: center;
}
.invite-btn {
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: white;
    font-size: 17px;
    transition: 0.3s;
}
.invite-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(38, 103, 255, 0.25);
}
.card span{
    position:absolute;
    color:white;
    animation:starFloat 5s infinite;
    opacity:.7;
}
.card span:nth-child(1){
    top:20px;
    right:25px;
    font-size:20px;
}
.card span:nth-child(2){
    bottom:30px;
    left:30px;
    font-size:16px;
    animation-duration:6s;
}
.card span:nth-child(3){
    top:45%;
    right:18px;
    font-size:14px;
    animation-duration:7s;
}
.card span:nth-child(4){
    top:90%;
    right:65px;
    font-size:14px;
    animation-duration:8s;
}

@keyframes starFloat{

    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-12px);
    }
    100%{
        transform:translateY(0);
    }
}

@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .how-invite h2 {
        font-size: 40px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 35px 25px;
    }

    .icon {
        width: 80px;
        height: 80px;

        font-size: 32px;
    }

    .card h3 {
        font-size: 24px;
    }
}

@media (max-width: 500px) {
    .how-invite {
        margin: 80px auto;
    }

    .how-invite h2 {
        font-size: 34px;
        margin-bottom: 45px;
    }

    .card {
        padding: 30px 20px;
    }

    .card p {
        font-size: 16px;

        line-height: 28px;
    }
}
.faq {
    width: 90%;
    max-width: 1100px;
    margin: 120px auto;
}

.faq h2 {
    text-align: center;
    font-size: 50px;
    color: var(--heading-color);
    margin-bottom: 60px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: 0.3s;
}
.faq-item:hover {
    transform: translateY(-4px);
}
.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 600;
}
.faq-question span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    transition: 0.3s;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
}
.faq-answer p {
    padding: 0 30px 25px;
    color: var(--body-color);
    line-height: 30px;
    font-size: 17px;
}
.faq-item.active .faq-answer {
    max-height: 250px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}
@media (max-width: 768px) {
    .faq {
        margin: 90px auto;
    }

    .faq h2 {
        font-size: 38px;

        margin-bottom: 40px;
    }

    .faq-question {
        padding: 20px;

        font-size: 18px;
    }

    .faq-answer p {
        padding: 0 20px 20px;

        font-size: 16px;

        line-height: 28px;
    }

@media (max-width: 500px) {
    .faq h2 {
        font-size: 32px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-question span {
        width: 32px;
        height: 32px;

        font-size: 18px;
    }
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

    .home {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
    }

    .home-left {
        order: 2;
    }

    .home-right {
        order: 1;

        margin-bottom: 40px;
    }

    .home-buttons {
        justify-content: center;

        flex-wrap: wrap;
    }

    .home-left h1 {
        font-size: 48px;
    }

    .wallet-box {
        width: 320px;

        height: 320px;
    }

    .wallet {
        width: 220px;

        height: 150px;
    }

    .coin {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .home-left h1 {
        font-size: 36px;
        line-height: 1.3;
    }

    .home-left p {
        font-size: 16px;
        line-height: 28px;
    }
    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .home-buttons {
        flex-direction: column;
    }

    .wallet-box {
        width: 260px;
        height: 260px;
    }

    .wallet {
        width: 180px;
        height: 130px;
    }

    .wallet-top {
        width: 90px;
        height: 30px;
    }

    .wallet-lock {
        width: 55px;
        height: 40px;
    }
}